package com.hifar.test.equipsensor.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hifar.model.BaseModel;
import com.hifar.plat.AopOption.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
* <p>
 * 资源-设备传感器-关系表
 * </p>
 *
 * @author wangkepeng
 * @since 2024-12-11 14:13:02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("HF_RES_EQUIP_SENSOR")
@ApiModel(value = "HfResEquipSensor对象", description = "资源-设备传感器-关系表")
public class HfResEquipSensor extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 备注
     */
    @Excel(name = "备注", sort = 1)
    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    @JSONField(name = "remarks")
    private String remarks;


    /**
    * 传感器ID
    */
    @Excel(name="传感器ID",sort=1)
    @ApiModelProperty(value = "传感器ID")
    @TableField("SENSOR_ID")
    @JSONField(name = "sensorId")
    private String sensorId;

    /**
    * 设备ID
    */
    @Excel(name="设备ID",sort=1)
    @ApiModelProperty(value = "设备ID")
    @TableField("EQUIP_ID")
    @JSONField(name = "equipId")
    private String equipId;


    /**
    * tenant_id
    */
    @Excel(name="tenant_id",sort=1)
    @ApiModelProperty(value = "tenant_id")
    @TableField(value = "TENANT_ID", fill = FieldFill.INSERT)
    @JSONField(name = "tenantId")
    private String tenantId;
    
    
    /**
     * 设备location
     */
     @Excel(name="安装位置",sort=1)
     @ApiModelProperty(value = "安装位置")
     @TableField("LOCATION")
     @JSONField(name = "location")
     private String location;
     
     /**
      * 设备location
      */
      @Excel(name="安装方式1控制2采集",sort=1)
      @ApiModelProperty(value = "安装方式1控制2采集")
      @TableField("INSTALL_WAY")
      @JSONField(name = "installWay")
      private String installWay;
     

}